package com.cloud.flowable.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import com.cloud.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "流程分类对象", description = "流程管理")
@TableName("wf_category")
public class WfCategory extends BaseEntity {

    @TableId(type = IdType.AUTO)
    @Schema(description = "主键编号")
    private Long categoryId;

    @Schema(description = "分类名称")
    @Excel(name = "分类名称")
    private String categoryName;

    @Schema(description = "分类编码")
    @Excel(name = "分类编码")
    private String code;

    @Schema(description = "备注")
    @Excel(name = "备注")
    private String remark;

    @Schema(description = "逻辑删除 0未删除 1.删除")
    @TableField(value = "deleted", fill = FieldFill.INSERT)
    private Integer deleted;

}
